<div class="table-scroll">
  <table class="table-list">
    <thead>
    <tr>
      <th><%= t("edit.identifier", scope: "decidim.elections.admin.census") %></th>
      <th><%= t("edit.created_at", scope: "decidim.elections.admin.census") %></th>
    </tr>
    </thead>
    <tbody>
    <% preview_users(election).each do |voter| %>
      <tr>
        <td><%= voter.identifier %></td>
        <td><%= voter.date_created %></td>
      </tr>
    <% end %>
    </tbody>
  </table>
  <p class="mt-4 text-gray-2 text-sm">
    <%= t("decidim.elections.censuses.census_size_html", count: census_count(election)) %>
  </p>
  <p class="text-gray-2 text-sm">
    <%= t("decidim.elections.admin.census.preview.title", count: 5) %>
  </p>
</div>
